package drds.configuration.db.test.object_column_mapping.dto;

import drds.configuration.db.xml_mapping.annotation.dto.ColumnName;
import drds.configuration.db.xml_mapping.annotation.dto.Dto;
import drds.configuration.db.xml_mapping.annotation.dto.Field;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ToString
@Dto(alias = "")
public class User {

    @ColumnName
    public static final String ID = "id";

    @ColumnName
    public static final String NAME = "name";
    //
    @Field(withColumnName = User.ID)
    @Setter
    @Getter
    private long id;

    @Field(withColumnName = User.NAME)
    @Setter
    @Getter
    private String name;
}
